{% extends "bases/base-nav.html" %}
{% block title %}
    Login
{% endblock %}

{% block center %}
    <div class="col-md-4 col-md-offset-4">
        <div class="box box-info">
            <div class="box-header with-border">
              <h3 class="box-title" id="logout-title">登陆框</h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form class="form-horizontal" id="login-tab" method="POST">
              {% csrf_token %}
              <div class="box-body">
                <div class="form-group">
                  <label for="UserName" class="col-sm-3 control-label">用户名</label>

                  <div class="col-sm-8">
                    {{ form.username }}
                  </div>
                </div>
                <div class="form-group">
                  <label for="PassWd" class="col-sm-3 control-label">密 码</label>

                  <div class="col-sm-8">
                    {{ form.password }}
                  </div>
                </div>
                <div class="form-group">
                  <div class="col-sm-offset-2 col-sm-10">
                    <div class="checkbox">
                      <label>
                        <input type="checkbox"> Remember me
                      </label>
                    </div>
                  </div>
                </div>
              </div>
              <!-- /.box-body -->
              <div class="box-footer">
                <button type="submit" id="login-btn" class="btn btn-info pull-right">登 陆</button>
              </div>
              <!-- /.box-footer -->
            </form>
          </div>
    </div>
{% endblock %}

{% block scripter %}
{% endblock %}